package prob;

import javax.ws.rs.*;

// The Java class will be hosted at the URI path "/arbeit/log"
@Path("/arbeit/log")
public class TestService {

	// The Java method will process HTTP GET requests
	@GET
	// The Java method will produce content identified by the MIME Media
	// type "text/plain"
	@Produces("text/plain")
	public String halloText(@QueryParam("name") String name) {
		return "Hello, your name: " + name;
	}
}